#include<stdio.h>

struct person {
	const char *name;
	const char *surname;
	int age;
	const char *sex;
	int weight;
};

void getPersonInfo(struct person thePerson) {

	printf("Name: %s\n", thePerson.name);
	printf("Name: %s\n", thePerson.surname);
	printf("Name: %d\n", thePerson.age);
	printf("Name: %s\n", thePerson.sex);
	printf("Name: %d\n", thePerson.weight);

}

int main (void) {

	printf("First examples of struct! Youtube Banas\n");

	struct person sebastian = {"Sebastian", "Chlad", 35, "M", 85 };

	getPersonInfo(sebastian); 

	return 0;
}
